home *** CD-ROM | disk | FTP | other *** search
/ Aminet 6 / Aminet 6 - June 1995.iso / Aminet / util / rexx / fw_macros.lha / Draw_Oval < prev    next >
Encoding:
Text File  |  1995-03-26  |  672 b   |  27 lines

  1. /* ======================================== */
  2. /*  FINAL WRITER AREXX MACRO                */
  3. /*    by Nigel S. Domaingue, 28/1/95        */
  4. /*  Draw_Oval                               */
  5. /*  $Ver:  Draw_Oval v1.0 (30/1/95)         */
  6. /* ======================================== */
  7.  
  8. Options Results
  9.  
  10. /* Must determine the current page and the current */
  11. /* scroll-position so that the box will be placed  */
  12. /* in the field of view.                           */
  13. /*   Draws a 1" X 1" Oval.                         */
  14.  
  15. Status Page
  16. CurPage = Result
  17.  
  18. Status ScrollPos
  19. Parse VAR Result Left Top
  20. Top = Top + 1
  21. Left = Left + 1
  22.  
  23. GraphicTool
  24. DrawOval  CurPage Left Top 1 1
  25. Redraw
  26.  
  27.